<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>    
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<style type="text/css">
thead td{
	border: 0px;
	border-bottom: 1px solid black;
	font-size: 16px;
	font-weight: bold;
}
</style>
</head>
<body>
    <table>
       <thead>
        <tr><td>商品名字</td><td>库存</td><td>单价</td></tr>
       </thead>
       <tbody>
         <c:forEach items="${productList}" var="product">
         <tr>
         <td>
           <c:out value="${product.name}"></c:out>
         </td>
         <td>
           ${product.stock}
         </td>
         <td>
         ${product.price}
         </td>
         </tr>
         </c:forEach>
       </tbody>
    </table>
    <%@include  file="page.jsp" %>
</body>
</html>